﻿using System;
using Common.Infrastructure;

namespace StatsData.Data.Entity
{
    /// <summary>
    /// 跨厂维修数据
    /// </summary>
    public class t_bi_cross_send_repair_detail : EntityBase
    {
        /// <summary>
        /// 线体ID
        /// </summary>
        public string line_id { get; set; }

        /// <summary>
        /// 线体编号
        /// </summary>
        public string line_code { get; set; }

        /// <summary>
        /// 线体名称
        /// </summary>
        public string line_name { get; set; }

        public string line_name_en { get; set; }

        public string line_name_th { get; set; }

        /// <summary>
        /// 工单id
        /// </summary>
        public string work_id { get; set; }

        /// <summary>
        /// 工单编号
        /// </summary>
        public string work_code { get; set; }

        /// <summary>
        /// 日期send_time.Date
        /// </summary>
        public DateTime curr_date { get; set; }

        /// <summary>
        /// 送修时间
        /// </summary>
        public DateTime send_time { get; set; }

        /// <summary>
        /// 维修天数
        /// </summary>
        public decimal repair_day { get; set; }

        /// <summary>
        /// 送修数量
        /// </summary>
        public decimal send_qty { get; set; }

        /// <summary>
        /// 维修数量
        /// </summary>
        public decimal repair_qty { get; set; }

        /// <summary>
        /// 报废数量
        /// </summary>
        public decimal scrap_qty { get; set; }

        public string send_repair_detail_code { get; set; }

        public string send_user_id { get; set; }

        public string send_user_code { get; set; }

        public string send_user_name { get; set; }

        /// <summary>
        /// 状态：0=未开始，1=已开始，2=已完成，3=已取消
        /// </summary>
        public int order_status { get; set; }
    }
}
